package cn.amossun.starter.event.exception;

import lombok.Data;

@Data
public class EventMethodExecuteException extends RuntimeException {

    private boolean reTry;

    public EventMethodExecuteException(String message) {
        super(message);
    }

    public EventMethodExecuteException(String message, boolean reTry) {
        super(message);
        this.reTry = reTry;
    }
}
